/**
 * 
 */
package com.guoxin.chapter2.syntwolock;

/**
 * @author guoxin
 * @date 2019年8月19日
 */
public class ThreadB extends Thread{
	private Service service;
	
	public ThreadB(Service service) {
		super();
		this.service = service;
	}


	@Override
	public void run() {
		service.printB();
	}
}
